package pojo;

import anno.Column;
import anno.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Table("tb_movies")
public class Movie {
    @Column(isId = true)
    private Integer id;
    private String title;
    private String description;
    private LocalDateTime releaseDate;
    private Integer duration;
    private Float rating;
    private String poster;
    private LocalDateTime createdAt;
}